package com.hxd.otc.module.my.contract;

import com.hxd.otc.common.enums.BankType;
import com.hxd.otc.mvp.base.IBasePresenter;
import com.hxd.otc.mvp.base.IBaseView;

import java.io.File;

/**
 * Created by lzy on 2018/6/8 0008.
 * description ${添加支付宝 Contract}
 */
public interface AddAlipayOrWeiXinContract {
    interface View extends IBaseView {
        void addAliPayOrWeiXinSuccess(BankType mBankType, String msg);

        void uploadImageSuccess(String imageId);

        void uploadImageFail(String errMessage);
    }

    interface Presenter extends IBasePresenter {
        void addAliPay(String payNo,String qrcodeId,String country, String realName, String remark) ;

        void uploadImage(File file);

        void setBankType(BankType bankType);
    }
}
